{% extends 'layout.html' %}
{% block subtitle %}Signup{% endblock %}
{% from "snipple/macro.html" import navigation with context%}
{% block nav %}
 {{ navigation('signup') }}
{% endblock %}
{% block main %}
<div class="rows">
  <div class="col-md-3"></div>
  <div class="col-md-6">
    <div class="panel panel-default">
      <center><h2>Sign Up</h2></center>
      <form method="POST" class="panel-body">
        {{ form.hidden_tag() }}
        {{ form.email.label }}
        {{ form.email(class='form-control') }}
        {{ form.username.label }}
        {{ form.username(class='form-control') }}
        {{ form.password.label }}
        {{ form.password(class='form-control') }}
        {{ form.retype_password.label }}
        {{ form.retype_password(class='form-control') }}
        {{ form.submit(class='btn btn-default') }}
      </form>
    </div>
  </div>
  <div class="col-md-3"></div>
</div>
{% endblock %}
